<template>
  <div>
    <el-pagination
      background
      @current-change="handleCurrentChange"
      :page-size="10"
      layout="prev, pager, next, jumper"
      :total="total"
    >
    </el-pagination>
  </div>
</template>
<script>
export default {
  name: "",
  components: {},
  props: ["total"],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    // handleSizeChange(val) {
    //   this.$emit('size',val)
    // },
    handleCurrentChange(val) {
      this.$emit("num", val);
    },
  },
};
</script>
<style scoped>
</style>